package com.dz.lm.dao.userseach.read;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.ReaderRepository;
import com.dz.lm.domain.userproduct.UserProduct;
import com.dz.lm.domain.userproduct.UserProductExample;
import com.dz.lm.domain.usersearch.UserSearch;
import com.dz.lm.domain.usersearch.UserSearchExample;

import java.util.List;

@ReaderRepository("readUserSearchDao")
public interface UserSearchDao {
    List<UserSearch> selectByExample(UserSearchExample example) throws DaoException;

    UserSearch selectByPrimaryKey(Integer productId)throws DaoException;

    int querCount(UserProductExample example) throws DaoException;

}